﻿using System.Data.Entity;
using System.Diagnostics;

namespace TodoApi.Api.Data
{
    public class TodosContext : DbContext
    {

        public TodosContext()
            : base("name=TodosConnection")
        {
            Debug.Write(Database.Connection.ConnectionString);
        }

        public virtual DbSet<Models.Todo> Todos { get; set; }
    }
}